package bdcin.servlet.actions.docente;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import bdcin.servlet.actions.Action;

public class DocenteAction extends Action {

	@Override
	public void executar(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		
		String nomeJSP = request.getParameter("nomeJSP");
		nomeJSP = "/docente/" + nomeJSP + ".jsp";
		
		request.getRequestDispatcher(nomeJSP).forward(request, response);

	}

}
